<?php

/**
 * This is the model class for table "order_item".
 *
 * The followings are the available columns in table 'order_item':
 * @property integer $id ID
 * @property string $order_id 订单id
 * @property string $goods_id 商品id
 * @property integer $item_num 订购数量
 * @property string $item_price 订购单价
 */
class OrderItem extends ActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return OrderItem the static model class
	 */
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function getMdcClass() {
		return 'application.models.metadata.OrderItemMetadata';
	}
}